home *** CD-ROM | disk | FTP | other *** search
- global aFull, bFull, cFull, aContains, bContains, cContains, guess1, guess2, guess3
-
- on exitFrame me
- if (sprite(103).visible = 1) or (sprite(102).visible = 1) then
- go(the frame)
- else
- if sprite 25 intersects sprite(28) then
- if (aFull = 1) and (aContains <> "1") then
- sprite(28).loc = point(206, 517)
- guess1 = 0
- if (bFull = 1) and (bContains = "1") then
- bFull = 0
- bContains = 0
- end if
- if (cFull = 1) and (cContains = "1") then
- cFull = 0
- cContains = 0
- end if
- else
- sprite(28).loc = point(168, 136)
- guess1 = "A"
- aFull = 1
- aContains = "1"
- if (bFull = 1) and (bContains = "1") then
- bFull = 0
- bContains = 0
- end if
- if (cFull = 1) and (cContains = "1") then
- cFull = 0
- cContains = 0
- end if
- end if
- end if
- if sprite 25 intersects sprite(29) then
- if (aFull = 1) and (aContains <> "2") then
- sprite(29).loc = point(306, 517)
- guess1 = 0
- if (bFull = 1) and (bContains = "2") then
- bFull = 0
- bContains = 0
- end if
- if (cFull = 1) and (cContains = "2") then
- cFull = 0
- cContains = 0
- end if
- else
- sprite(29).loc = point(168, 136)
- guess2 = "A"
- aFull = 1
- aContains = "2"
- if (bFull = 1) and (bContains = "2") then
- bFull = 0
- bContains = 0
- end if
- if (cFull = 1) and (cContains = "2") then
- cFull = 0
- cContains = 0
- end if
- end if
- end if
- if sprite 25 intersects sprite(30) then
- if (aFull = 1) and (aContains <> "3") then
- sprite(30).loc = point(406, 517)
- guess1 = 0
- if (bFull = 1) and (bContains = "3") then
- bFull = 0
- bContains = 0
- end if
- if (cFull = 1) and (cContains = "3") then
- cFull = 0
- cContains = 0
- end if
- else
- sprite(30).loc = point(168, 136)
- guess3 = "A"
- aFull = 1
- aContains = "3"
- if (bFull = 1) and (bContains = "3") then
- bFull = 0
- bContains = 0
- end if
- if (cFull = 1) and (cContains = "3") then
- cFull = 0
- cContains = 0
- end if
- end if
- end if
- if sprite 26 intersects sprite(28) then
- if (bFull = 1) and (bContains <> "1") then
- sprite(28).loc = point(206, 517)
- guess1 = 0
- if (aFull = 1) and (aContains = "1") then
- aFull = 0
- aContains = 0
- end if
- if (cFull = 1) and (cContains = "1") then
- cFull = 0
- cContains = 0
- end if
- else
- sprite(28).loc = point(168, 203)
- guess1 = "B"
- bFull = 1
- bContains = "1"
- if (aFull = 1) and (aContains = "1") then
- aFull = 0
- aContains = 0
- end if
- if (cFull = 1) and (cContains = "1") then
- cFull = 0
- cContains = 0
- end if
- end if
- end if
- if sprite 26 intersects sprite(29) then
- if (bFull = 1) and (bContains <> "2") then
- sprite(29).loc = point(306, 517)
- guess1 = 0
- if (aFull = 1) and (aContains = "2") then
- aFull = 0
- aContains = 0
- end if
- if (cFull = 1) and (cContains = "2") then
- cFull = 0
- cContains = 0
- end if
- else
- sprite(29).loc = point(168, 203)
- guess2 = "B"
- bFull = 1
- bContains = "2"
- if (aFull = 1) and (aContains = "2") then
- aFull = 0
- aContains = 0
- end if
- if (cFull = 1) and (cContains = "2") then
- cFull = 0
- cContains = 0
- end if
- end if
- end if
- if sprite 26 intersects sprite(30) then
- if (bFull = 1) and (bContains <> "3") then
- sprite(30).loc = point(406, 517)
- guess1 = 0
- if (aFull = 1) and (aContains = "3") then
- aFull = 0
- aContains = 0
- end if
- if (cFull = 1) and (cContains = "3") then
- cFull = 0
- cContains = 0
- end if
- else
- sprite(30).loc = point(168, 203)
- guess3 = "B"
- bFull = 1
- bContains = "3"
- if (aFull = 1) and (aContains = "3") then
- aFull = 0
- aContains = 0
- end if
- if (cFull = 1) and (cContains = "3") then
- cFull = 0
- cContains = 0
- end if
- end if
- end if
- if sprite 27 intersects sprite(28) then
- if (cFull = 1) and (cContains <> "1") then
- sprite(28).loc = point(206, 517)
- guess1 = 0
- if (bFull = 1) and (bContains = "1") then
- bFull = 0
- bContains = 0
- end if
- if (aFull = 1) and (aContains = "1") then
- aFull = 0
- aContains = 0
- end if
- else
- sprite(28).loc = point(168, 270)
- guess1 = "C"
- cFull = 1
- cContains = "1"
- if (bFull = 1) and (bContains = "1") then
- bFull = 0
- bContains = 0
- end if
- if (aFull = 1) and (aContains = "1") then
- aFull = 0
- aContains = 0
- end if
- end if
- end if
- if sprite 27 intersects sprite(29) then
- if (cFull = 1) and (cContains <> "2") then
- sprite(29).loc = point(306, 517)
- guess1 = 0
- if (bFull = 1) and (bContains = "2") then
- bFull = 0
- bContains = 0
- end if
- if (aFull = 1) and (aContains = "2") then
- aFull = 0
- aContains = 0
- end if
- else
- sprite(29).loc = point(168, 270)
- guess2 = "C"
- cFull = 1
- cContains = "2"
- if (bFull = 1) and (bContains = "2") then
- bFull = 0
- bContains = 0
- end if
- if (aFull = 1) and (aContains = "2") then
- aFull = 0
- aContains = 0
- end if
- end if
- end if
- if sprite 27 intersects sprite(30) then
- if (cFull = 1) and (cContains <> "3") then
- sprite(30).loc = point(406, 517)
- guess1 = 0
- if (bFull = 1) and (bContains = "3") then
- bFull = 0
- bContains = 0
- end if
- if (aFull = 1) and (aContains = "3") then
- aFull = 0
- aContains = 0
- end if
- else
- sprite(30).loc = point(168, 270)
- guess3 = "C"
- cFull = 1
- cContains = "3"
- if (bFull = 1) and (bContains = "3") then
- bFull = 0
- bContains = 0
- end if
- if (aFull = 1) and (aContains = "3") then
- aFull = 0
- aContains = 0
- end if
- end if
- end if
- if sprite 28 intersects sprite(25) then
- else
- if sprite 28 intersects sprite(26) then
- else
- if sprite 28 intersects sprite(27) then
- else
- sprite(28).loc = point(206, 517)
- guess1 = 0
- if aContains = "1" then
- aFull = 0
- aContains = 0
- end if
- if bContains = "1" then
- bFull = 0
- bContains = 0
- end if
- if cContains = "1" then
- cFull = 0
- cContains = 0
- end if
- end if
- end if
- end if
- if sprite 29 intersects sprite(25) then
- else
- if sprite 29 intersects sprite(26) then
- else
- if sprite 29 intersects sprite(27) then
- else
- sprite(29).loc = point(306, 517)
- guess2 = 0
- if aContains = "2" then
- aFull = 0
- aContains = 0
- end if
- if bContains = "2" then
- bFull = 0
- bContains = 0
- end if
- if cContains = "2" then
- cFull = 0
- cContains = 0
- end if
- end if
- end if
- end if
- if sprite 30 intersects sprite(25) then
- else
- if sprite 30 intersects sprite(26) then
- else
- if sprite 30 intersects sprite(27) then
- else
- sprite(30).loc = point(406, 517)
- guess3 = 0
- if aContains = "3" then
- aFull = 0
- aContains = 0
- end if
- if bContains = "3" then
- bFull = 0
- bContains = 0
- end if
- if cContains = "3" then
- cFull = 0
- cContains = 0
- end if
- end if
- end if
- end if
- updateStage()
- if the frameLabel <> "EndGame" then
- go(the frame + 1)
- else
- sprite(113).visible = 1
- go(the frame)
- end if
- end if
- end
-